import request from '@/utils/request'

// 查询众筹参与表列表
export function listProjectstore(query) {
  return request({
    url: '/system/projectstore/list',
    method: 'get',
    params: query
  })
}

// 查询众筹参与表详细
export function getProjectstore(projectUserId) {
  return request({
    url: '/system/projectstore/' + projectUserId,
    method: 'get'
  })
}

// 新增众筹参与表
export function addProjectstore(data) {
  return request({
    url: '/system/projectstore',
    method: 'post',
    data: data
  })
}

// 修改众筹参与表
export function updateProjectstore(data) {
  return request({
    url: '/system/projectstore',
    method: 'put',
    data: data
  })
}

// 删除众筹参与表
export function delProjectstore(projectUserId) {
  return request({
    url: '/system/projectstore/' + projectUserId,
    method: 'delete'
  })
}
